/* 全局CSS变量定义 */
:root {
  --primary-color: #0066ff;
  --primary-light: rgba(0, 102, 255, 0.1);
  --primary-dark: #0052cc;
  --text-primary: #333;
  --text-secondary: #666;
  --text-light: #999;
  --border-color: #f0f0f0;
  --background-light: #f6f8fb;
  --white: #ffffff;
  --transition-normal: 0.3s ease;
  --border-radius: 0.75rem;
  --border-radius-small: 0.5rem;
}

body {
  margin: 0;
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
}

/* 全局高亮文本样式 */
.highlight-text {
  color: var(--primary-color);
  font-weight: 800;
}

/* 强制所有元素使用Lexend字体 */
* {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif !important;
}

/* 代码相关元素保持等宽字体 */
code, pre, .code, .monospace, 
kbd, samp, var, tt {
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
}
